Blazor | ComponentOne
C1.Blazor.Core Assembly / C1.Blazor.Core Namespace / Range<T> Class / Union Method
The range to union with.

In This Topic
    Union Method (Range<T>)
    In This Topic
    Returns the range that represents the union of this range and value.
    Syntax
    'Declaration
     
    
    Public Function Union( _
       ByVal value As Range(Of T) _
    ) As Range(Of T)
    public Range<T> Union( 
       Range<T> value
    )

    Parameters

    value
    The range to union with.

    Return Value

    A range that contains both ranges, or null if there is no union.
    Exceptions
    ExceptionDescription
    value is null.
    value is not contiguous with the range.
    See Also